home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ WinNT QuickBoot.xpl < prev    next >
Text File  |  1999-08-07  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="General Usage\Windows NT"
  5. "NAME"="Quick Reboot"
  6. "VERSION"="1.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable CTRL+SHIFT+ALT+DEL quick reboot"
  9. "DESCRIPTION 1"="Activating this option allows you to press CTRL+SHIFT+ALT+DEL to reboot your PC."
  10. "DESCRIPTION 2"="The "normal" CTRL+ALT+DEL will still show the "Windows NT Security" screen."
  11. "AUTHOR"="Xteq Systems"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  14. "COMMENT 2"=" "
  15.  
  16.  
  17. sPath="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\"
  18. sV1="EnableQuickReboot"
  19. Sub Plugin_Initialize 
  20.  if GetWinVer=2 then
  21.     i=RegReadValue(sPath & sV1)
  22.     if i=1 then
  23.        SetUIElement 1,true 
  24.     end if
  25.  end if
  26. End Sub
  27.  
  28. Sub Plugin_CheckData(ElementIndex)
  29. End Sub
  30.  
  31. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue(sPAth & sV1,1,1)
  35.  else
  36.     Call RegWriteValue(sPAth & sV1,0,1)
  37.  end if
  38.  
  39.  Call Restart()
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.